package com.catchman.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;

/**
 * <p>
 * 角色权限对照表
 * </p>
 *
 * @author CatchMan
 * @since 2019-05-06
 */
@ApiModel(value="SysRolePerm对象", description="角色权限对照表")
public class SysRolePerm implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_id", type = IdType.ID_WORKER_STR)
    private String roleId;

    private String permVal;

    private Integer permType;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    public String getPermVal() {
        return permVal;
    }

    public void setPermVal(String permVal) {
        this.permVal = permVal;
    }
    public Integer getPermType() {
        return permType;
    }

    public void setPermType(Integer permType) {
        this.permType = permType;
    }

    @Override
    public String toString() {
        return "SysRolePerm{" +
        "roleId=" + roleId +
        ", permVal=" + permVal +
        ", permType=" + permType +
        "}";
    }
}
